ImagXpress 13 for ActiveX - User Guide > How To > Process an Image > Draw Graphics |
The ImagXpress® control has graphic drawing methods that let you draw lines and shapes on the DIB. Since the graphics are drawn onto the DIB, they become a permanent part of the image.
The Undo method does not undo changes to the image palette. |
The following properties and methods are used to draw graphics:
DrawMode property — Gets and sets a value that determines how the interaction of color settings are managed (for example: pen color, background color, display color and foreground color).
DrawStyle property — Gets and sets a value that determines the line style for output from graphics methods.
DrawWidth property — Gets and sets the line width for output from graphics methods.
DrawFillStyle property — Gets and sets the pattern used to fill circles and boxes created with the DrawCircle, DrawLine and DrawPolygon graphics methods.
DrawFillColor property — Gets and sets the color used to fill in circles, boxes and polygons created with the DrawCircle, DrawLine and DrawPolygon graphics methods.
DrawLine method — Draws lines and rectangles on an image.
DrawCurve — Draws a Bezier curve on an image.
DrawCircle — Draws a circle or ellipse on an image.
DrawPolygon — Draws a 2-6 sided polygon on an image.
DrawRoundRect — Draws a rectangle with rounded corners on an image.
DrawArc — Draws an arc on an image.
DrawPie — Draws a pie-shaped wedge on an image.
DrawTextString — Draws text on an image.